Component({
    properties: {
        isBlack: {
            type: Boolean,
            default: false
        },
        isOut: {
            type: Number,
            default: 0
        }
    },
    data: {

    },
    lifetimes: {
        attached() {

        }
    },
    methods: {
        handleBack() {
          console.log(this.properties.isOut,123);
            if (this.properties.isOut) {
                wx.switchTab({
                    url: '/pages/shop/index'
                })
            } else {
                wx.navigateBack({
                    delta: 1
                })
            }
        }
    }
})